package com.zx.test;

import com.zx.pojo.Equip;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test01 {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("application01.xml");
        Equip equip = (Equip) context.getBean("langMoRing");

        System.out.println("蓝魔指环[速度增效]：" + equip.getSeedPlus() + "[攻击增效]：" + equip.getAttackPlus() + "[防御增效]：" + equip.getDefencePlus());
    }
}
